package com.weixin.paleituo.annotation;

import android.support.annotation.IntDef;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * 发票抬头类型
 *
 * @author fengzhen
 * @version v1.0, 2018/4/3
 */
@IntDef({InvoiceBeginType.TYPE_PERSONAL, InvoiceBeginType.TYPE_GROUP, InvoiceBeginType.TYPE_NON,
        InvoiceBeginType.TYPE_GROUP_NORMAL, InvoiceBeginType.TYPE_GROUP_TAX})
@Retention(RetentionPolicy.RUNTIME)
public @interface InvoiceBeginType {
    /**
     * 个人抬头
     */
    int TYPE_PERSONAL = 0x1;

    /**
     * 单位抬头
     */
    int TYPE_GROUP = 0x2;

    /**
     * 不开发票
     */
    int TYPE_NON = 0x3;

    /**
     * 单位抬头 普通发票
     */
    int TYPE_GROUP_NORMAL = 0x20;

    /**
     * 单位抬头 增值税发票
     */
    int TYPE_GROUP_TAX = 0x21;
}
